package com.twitch.financialAnalysis.business.controller;

import com.twitch.financialAnalysis.business.pojo.po.BaseAmortization;
import com.twitch.financialAnalysis.business.service.BaseService;
import com.twitch.financialAnalysis.system.ResultData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: twitch
 * @Date: 2021/4/7
 * @description: baseTable
 */
@Api("基本报表")
@RestController
@RequestMapping("/base")
public class BaseController {

    @Autowired
    private BaseService baseService;

//    @PostMapping("amortization/save")
//    @ApiOperation("保存无形资产摊销估算表")
//    public ResultData<Integer> saveAmortization(@RequestBody BaseAmortization baseAmortization){
//        return new ResultData<>(0,"保存成功",baseService.saveAmortization());
//    }



}
